package com.dj.mingkong.common.constant;

/**
 * @author zenglonghui
 * @date: 2022/5/17 18:14
 */
public final class CommonConstants {
    public static final String SUCCESS_CODE = "0";
    public static final String ERROR_CODE = "-1";
    public static final String FAILURE_CODE = "1";
    public static final String SUCCESS_MSG = "success";
    public static final String ERROR_MSG = "error";
    public static final String FAILURE_MSG = "failure";
    public static final String SWAGGER = "swagger";
    public static final String DEV = "dev";
    public static final String TEST = "test";
    public static final String PROD = "prod";
    public static final String SYSTEM_PROPERTIES = "systemProperties";
    public static final Integer YES = 1;
    public static final Integer NO = 0;
    public static final String COLI = "coli";
    public static final String AMPERSAND = "&";
    public static final String AND = "and";
    public static final String AT = "@";
    public static final String ASTERISK = "*";
    public static final String STAR = "*";
    public static final String BACK_SLASH = "\\";
    public static final String COLON = ":";
    public static final String COMMA = ",";
    public static final String DASH = "-";
    public static final String DOLLAR = "$";
    public static final String DOT = ".";
    public static final String DOTDOT = "..";
    public static final String USER_CODE = "user_code";
    public static final String COLI_CONTEXT = "x-coli-context-";
    public static final String COLI_CONTEXT_REQUEST_ID = "x-coli-context-request.id";
    public static final String TRACE_ID = "req.requestId";
    public static final String USER_GUID = "user_guid";
    public static final String USERNAME = "username";
    public static final String USER_ROLE = "user_role";
    public static final String CREATE_TIME = "createTime";
    public static final String UPDATE_TIME = "updateTime";
    public static final String CREATE_PERSON = "createPerson";
    public static final String UPDATE_PERSON = "updatePerson";
    public static final String COLI_SERVER_IP = "coli.server.ip";
    public static final String COLI_APP_NAME = "coli.app.name";
    public static final String COLI_ENV_LOG_LEVEL = "coli.env.logger.level";
    public static final String LOGGING_LEVEL_COM_ALIBABA_NACOS = "logging.level.com.alibaba.nacos";
    public static final String COLI_SERVER_VERSION = "coli.server.version";
    public static final String COLI_LOG_WORKDIR = "coli.log.workdir";
    public static final String SPRING_PROFILES_ACTIVE = "spring.profiles.active";
    public static final Integer DEFAULT_PAGE_NUM = 1;
    public static final Integer DEFAULT_PAGE_SIZE = 10;
    public static final String DEFAULT_TIME_ZONE_ID = "GMT+8";

    /**
     * 默认Id
     */
    public static final Long DEFAULT_ID = 0L;

    /**
     * 字符串切割 逗号
     */
    public static final String SPLIT_COMMA = ",";

    /**
     * 字典表fullKey拼接
     */
    public static final String FULL_KEY_JOIN = ".";

    private CommonConstants() {
    }

    public static class HttpStatusCode {
        public static final int OK = 200;

        private HttpStatusCode() {
        }
    }
}
